import numpy as np

arr = np.random.randint(0, 10, (3, 3))
print(arr)
y = arr - arr.mean(axis=1).reshape(3,1)
print(y)
